package com.woniuxy.shop.Mapper;

import com.hc.entity.Shop;
import org.apache.ibatis.annotations.*;

/**
 * @ClassName shopMapper
 * @Description
 * @Author TJ
 * @Date 2022/10/20 10:30
 * @Version 1.0
 **/
@Mapper
public interface ShopMapper {
    //根据店铺id查询店铺
    @Select("select * from hc_shop where id=#{id}")
    Shop getByShopId(int id);


}
